﻿using System;
using SqlSugar;
using System.Linq;
using System.Text;

namespace Demo.Net.SqlSugar
{
    /// <summary>
    ///  用户表
    /// </summary>
    [SugarTable("tusr_user", "用户表")]
    public class Tusr_User
    {
        /// <summary>
        ///  用户ID
        ///</summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "user_id")]
        public int UserId { get; set; }

        /// <summary>
        ///  用户名称，登录名称
        ///</summary>
        [SugarColumn(ColumnName = "user_name")]
        public string UserName { get; set; }

        /// <summary>
        ///  手机号
        ///</summary>
        [SugarColumn(ColumnName = "mobile")]
        public string Mobile { get; set; }

        /// <summary>
        ///  用户密码
        ///</summary>
        [SugarColumn(ColumnName = "user_pwd")]
        public string UserPwd { get; set; }

        /// <summary>
        ///  密码盐
        ///</summary>
        [SugarColumn(ColumnName = "pwd_salt")]
        public string PwdSalt { get; set; }

        /// <summary>
        ///  真实姓名
        ///</summary>
        [SugarColumn(ColumnName = "real_name")]
        public string RealName { get; set; }

        /// <summary>
        ///  头像
        ///</summary>
        [SugarColumn(ColumnName = "avatar")]
        public string Avatar { get; set; }

    }
} 